FIND_PATH(GEOS_INCLUDE_DIR NAMES geos_c.h)
FIND_LIBRARY(GEOS_LIBRARY NAMES geos_c)

IF (GEOS_INCLUDE_DIR AND GEOS_LIBRARY)
    SET(GEOS_FOUND TRUE)
ELSE ()
    SET(GEOS_FOUND FALSE)
    SET(GEOS_LIBRARY "")
ENDIF (GEOS_INCLUDE_DIR AND GEOS_LIBRARY)
